package com.sumainfor.wx.tenant.controller.dev;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.service.TctenTenantDevService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>
 * 获取所有租客的id
 * <p>
 *
 * @author: Mr.Wang
 * @create: 2019-07-24 17:40
 **/
@Controller
@RequestMapping("/key/tctenTenantDev")
public class TctenTenantDevController {

    @Autowired
    TctenTenantDevService tctenTenantDevService;

    @ResponseBody
    @GetMapping("/getAllTenId")
    public JsonResult getAllTenId(){
        return tctenTenantDevService.getAllTenId();
    }
}
